<div class="tipoBanners view">
<h2><?php echo __('Tipo Banner'); ?></h2>
	<dl>
		<dt><?php echo __('Id'); ?></dt>
		<dd>
			<?php echo h($tipoBanner['TipoBanner']['id']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Nome'); ?></dt>
		<dd>
			<?php echo h($tipoBanner['TipoBanner']['nome']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Descricao'); ?></dt>
		<dd>
			<?php echo h($tipoBanner['TipoBanner']['descricao']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Altura'); ?></dt>
		<dd>
			<?php echo h($tipoBanner['TipoBanner']['altura']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Largura'); ?></dt>
		<dd>
			<?php echo h($tipoBanner['TipoBanner']['largura']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Created'); ?></dt>
		<dd>
			<?php echo h($tipoBanner['TipoBanner']['created']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Modified'); ?></dt>
		<dd>
			<?php echo h($tipoBanner['TipoBanner']['modified']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('User'); ?></dt>
		<dd>
			<?php echo $this->Html->link($tipoBanner['User']['username'], array('controller' => 'users', 'action' => 'view', $tipoBanner['User']['id'])); ?>
			&nbsp;
		</dd>
	</dl>
</div>
<div class="actions">
	<h3><?php echo __('Actions'); ?></h3>
	<ul>
		<li><?php echo $this->Html->link(__('Edit Tipo Banner'), array('action' => 'edit', $tipoBanner['TipoBanner']['id'])); ?> </li>
		<li><?php echo $this->Form->postLink(__('Delete Tipo Banner'), array('action' => 'delete', $tipoBanner['TipoBanner']['id']), null, __('Are you sure you want to delete # %s?', $tipoBanner['TipoBanner']['id'])); ?> </li>
		<li><?php echo $this->Html->link(__('List Tipo Banners'), array('action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Tipo Banner'), array('action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Users'), array('controller' => 'users', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New User'), array('controller' => 'users', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Pacote Banners'), array('controller' => 'pacote_banners', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Pacote Banner'), array('controller' => 'pacote_banners', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Posicao Banners'), array('controller' => 'posicao_banners', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Posicao Banner'), array('controller' => 'posicao_banners', 'action' => 'add')); ?> </li>
	</ul>
</div>
<div class="related">
	<h3><?php echo __('Related Pacote Banners'); ?></h3>
	<?php if (!empty($tipoBanner['PacoteBanner'])): ?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php echo __('Id'); ?></th>
		<th><?php echo __('Nome'); ?></th>
		<th><?php echo __('Tipo Banner Id'); ?></th>
		<th><?php echo __('Quantidade'); ?></th>
		<th><?php echo __('Unidade'); ?></th>
		<th><?php echo __('Created'); ?></th>
		<th><?php echo __('Modified'); ?></th>
		<th><?php echo __('User Id'); ?></th>
		<th class="actions"><?php echo __('Actions'); ?></th>
	</tr>
	<?php foreach ($tipoBanner['PacoteBanner'] as $pacoteBanner): ?>
		<tr>
			<td><?php echo $pacoteBanner['id']; ?></td>
			<td><?php echo $pacoteBanner['nome']; ?></td>
			<td><?php echo $pacoteBanner['tipo_banner_id']; ?></td>
			<td><?php echo $pacoteBanner['quantidade']; ?></td>
			<td><?php echo $pacoteBanner['unidade']; ?></td>
			<td><?php echo $pacoteBanner['created']; ?></td>
			<td><?php echo $pacoteBanner['modified']; ?></td>
			<td><?php echo $pacoteBanner['user_id']; ?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View'), array('controller' => 'pacote_banners', 'action' => 'view', $pacoteBanner['id'])); ?>
				<?php echo $this->Html->link(__('Edit'), array('controller' => 'pacote_banners', 'action' => 'edit', $pacoteBanner['id'])); ?>
				<?php echo $this->Form->postLink(__('Delete'), array('controller' => 'pacote_banners', 'action' => 'delete', $pacoteBanner['id']), null, __('Are you sure you want to delete # %s?', $pacoteBanner['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Pacote Banner'), array('controller' => 'pacote_banners', 'action' => 'add')); ?> </li>
		</ul>
	</div>
</div>
<div class="related">
	<h3><?php echo __('Related Posicao Banners'); ?></h3>
	<?php if (!empty($tipoBanner['PosicaoBanner'])): ?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php echo __('Id'); ?></th>
		<th><?php echo __('Nome'); ?></th>
		<th><?php echo __('Descricao'); ?></th>
		<th><?php echo __('Altura'); ?></th>
		<th><?php echo __('Largura'); ?></th>
		<th><?php echo __('Created'); ?></th>
		<th><?php echo __('Modified'); ?></th>
		<th><?php echo __('User Id'); ?></th>
		<th><?php echo __('Tipo Banner Id'); ?></th>
		<th class="actions"><?php echo __('Actions'); ?></th>
	</tr>
	<?php foreach ($tipoBanner['PosicaoBanner'] as $posicaoBanner): ?>
		<tr>
			<td><?php echo $posicaoBanner['id']; ?></td>
			<td><?php echo $posicaoBanner['nome']; ?></td>
			<td><?php echo $posicaoBanner['descricao']; ?></td>
			<td><?php echo $posicaoBanner['altura']; ?></td>
			<td><?php echo $posicaoBanner['largura']; ?></td>
			<td><?php echo $posicaoBanner['created']; ?></td>
			<td><?php echo $posicaoBanner['modified']; ?></td>
			<td><?php echo $posicaoBanner['user_id']; ?></td>
			<td><?php echo $posicaoBanner['tipo_banner_id']; ?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View'), array('controller' => 'posicao_banners', 'action' => 'view', $posicaoBanner['id'])); ?>
				<?php echo $this->Html->link(__('Edit'), array('controller' => 'posicao_banners', 'action' => 'edit', $posicaoBanner['id'])); ?>
				<?php echo $this->Form->postLink(__('Delete'), array('controller' => 'posicao_banners', 'action' => 'delete', $posicaoBanner['id']), null, __('Are you sure you want to delete # %s?', $posicaoBanner['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Posicao Banner'), array('controller' => 'posicao_banners', 'action' => 'add')); ?> </li>
		</ul>
	</div>
</div>
